package imdservice.controller;

import imdservice.thread.ServerThread;
import imdservice.thread.UploadThread;
import javafx.event.ActionEvent;


//TODO: 服务控制中心
public class Controller {
    private static final String IP_VI = "192.168.162.157";
    private static final String IP_T1 = "192.168.160.135";
    //TODO: 上传文件到移动服务器
    public void handleTransactButtonAction(ActionEvent actionEvent) {
        //TODO: 连接移动服务器
        new Thread(new UploadThread(IP_T1)).start();
    }

    //TODO: 执行远程安装指令
    public void handleExecButtonAction(ActionEvent actionEvent) {
        new Thread(new ServerThread(IP_T1)).start();
    }

}
